import Home  from '@/views/Home';
import Data from '@/views/Data';
import User from '@/views/User';
import About from '@/views/About';
import Login from '@/views/Login';
import Detail from '../views/Detail';
import UserInfo from '@/views/UserInfo';
import Account from "@/views/Account/index.jsx";

const routes = [
    {
        path: '/',
        component: Home
    },
    {
        path: '/data',
        component: Data
    },
    {
        path: '/user',
        component: User
    },
    {
        path: '/about',
        component: About
    },{
        path: 'login',
        component: Login
    },{
        path: 'detail',
        component: Detail
    }
    ,{
        path: 'userinfo',
        component: UserInfo
    },{
        path: 'account',
        component: Account
    }
];

export default routes